package com.kcwl.carrier.domain.repository;

import com.kcwl.carrier.domain.entity.VehicleBlacklistCondition;
import com.kcwl.carrier.domain.entity.VehicleBlacklistInfo;
import com.kcwl.carrier.infrastructure.repository.po.VehicleBlacklistPO;
import com.kcwl.carrier.interfaces.query.VehicleBlacklistQuery;
import com.kcwl.ddd.domain.entity.KcPage;
import com.kcwl.ddd.domain.repository.IBaseRepository;

import java.util.List;

public interface IVehicleBlacklistRepository extends IBaseRepository<VehicleBlacklistPO> {

    List<VehicleBlacklistInfo> queryVehicleBlacklistList(VehicleBlacklistCondition condition);

    KcPage<VehicleBlacklistInfo> queryVehicleBlacklistPage(VehicleBlacklistQuery query);

    Long addBlacklist(VehicleBlacklistPO vehicleBlacklistPO);
}
